<?php

namespace Xlib\Form\Element;

use Zend\Form\Element\Csrf as ZendCsrf;
use Zend\Form\View\Helper\FormHidden as HiddenHelper;
use Xlib\Form\ElementInterface;

class Csrf extends ZendCsrf implements ElementInterface {

    public function __toString()
    {
        $elementHelper = new HiddenHelper();
        return $elementHelper->render($this);
    }

}
